home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.42 / includes3v1 / includes3v1.lha / Intuition / icclass.i < prev    next >
Text File  |  1994-12-04  |  1KB  |  37 lines

  1. { icclass.i }
  2.  
  3. {$I   "Include:Utility/TagItem.i"}
  4.  
  5. CONST
  6.  ICM_Dummy      = ($0401);       { used for nothing             }
  7.  ICM_SETLOOP    = ($0402);       { set/increment loop counter   }
  8.  ICM_CLEARLOOP  = ($0403);       { clear/decrement loop counter }
  9.  ICM_CHECKLOOP  = ($0404);       { set/increment loop           }
  10.  
  11. { no parameters for ICM_SETLOOP, ICM_CLEARLOOP, ICM_CHECKLOOP  }
  12.  
  13. { interconnection attributes used by icclass, modelclass, and gadgetclass }
  14.  ICA_Dummy      = (TAG_USER+$40000);
  15.  ICA_TARGET     = (ICA_Dummy + 1);
  16.         { interconnection target               }
  17.  ICA_MAP        = (ICA_Dummy + 2);
  18.         { interconnection map tagitem list     }
  19.  ICSPECIAL_CODE = (ICA_Dummy + 3);
  20.         { a "pseudo-attribute", see below.     }
  21.  
  22. { Normally, the value for ICA_TARGET is some object pointer,
  23.  * but if you specify the special value ICTARGET_IDCMP, notification
  24.  * will be send as an IDCMP_IDCMPUPDATE message to the appropriate window's
  25.  * IDCMP port.  See the definition of IDCMP_IDCMPUPDATE.
  26.  *
  27.  * When you specify ICTARGET_IDCMP for ICA_TARGET, the map you
  28.  * specify will be applied to derive the attribute list that is
  29.  * sent with the IDCMP_IDCMPUPDATE message.  If you specify a map list
  30.  * which results in the attribute tag id ICSPECIAL_CODE, the
  31.  * lower sixteen bits of the corresponding ti_Data value will
  32.  * be copied into the Code field of the IDCMP_IDCMPUPDATE IntuiMessage.
  33.  }
  34.  ICTARGET_IDCMP = (NOT 0);
  35.  
  36.  
  37.